widget: Add construct-only css-name property
authorTimm Bäder <mail@baedert.org>
Sun, 8 Jan 2017 15:44:46 +0000 (16:44 +0100)
committerTimm Bäder <mail@baedert.org>
Sun, 8 Jan 2017 15:44:46 +0000 (16:44 +0100)
commit9b76badb50e51bac8163b7abd75fa63276599a97
tree7ede5e7ad0d3e9222b087975eade54c3e6c33083
parentd15ca3b2b419430f10fd892c9e0567c66c700486
widget: Add construct-only css-name property

So we can set the css name of a widget to something that's not related
to the class name. If the css-name property is set to NULL, we will
still fall back to the one set using gtk_widget_class_set_css_name which
is alwasys non-NULL since GtkWidget itself sets it to "widget".
gtk/gtkwidget.c